package com.zb.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 出库收发货表
 * </p>
 *
 * @author WEN
 * @since 2024-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ZjStoreOutboundReceiptSend对象", description="出库收发货表")
public class ZjStoreOutboundReceiptSend implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主健ID/出库表ID")
    private Long id;

    @ApiModelProperty(value = "商家ID")
    private Long custAccId;

    @ApiModelProperty(value = "发货人姓名")
    private String sendName;

    @ApiModelProperty(value = "发货人手机号")
    private String sendPhone;

    @ApiModelProperty(value = "发货人地址 -省")
    private String sendProvince;

    @ApiModelProperty(value = "发货人地址 -市")
    private String sendCity;

    @ApiModelProperty(value = "发货人地址 -县/区")
    private String sendArea;

    @ApiModelProperty(value = "发货人地址 -镇")
    private String sendTown;

    @ApiModelProperty(value = "发货人地址 -详细地址")
    private String sendAddress;

    @ApiModelProperty(value = "收货地址类型：1-客户，2-服务商仓库，3-工程师仓库，4-其他收货人(此收货类型仅用于工单配件出库)")
    private Integer receiptAddrType;

    @ApiModelProperty(value = "用户表ID/仓库ID")
    private Long relationId;

    @ApiModelProperty(value = "仓库仓位表ID，当仓库启用仓位时生效")
    private Long storePositionId;

    @ApiModelProperty(value = "收货人姓名")
    private String receiptName;

    @ApiModelProperty(value = "收货人手机号")
    private String receiptPhone;

    @ApiModelProperty(value = "收货人地址 -省")
    private String receiptProvince;

    @ApiModelProperty(value = "收货人地址 -市")
    private String receiptCity;

    @ApiModelProperty(value = "收货人地址 -县/区")
    private String receiptArea;

    @ApiModelProperty(value = "收货人地址 -镇")
    private String receiptTown;

    @ApiModelProperty(value = "收货人地址 -详细地址")
    private String receiptAddress;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtUpdate;


}
